<!DOCTYPE html>
<html lang="cmn-hans">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <link rel="stylesheet" href="css/input.css">
  <script src="js/input.js" defer></script>
  <title>CSS验证表单</title>
</head>
<body>
  <form action="#">
    <div class="control">
      <label>amount</label>
      <input type="text" name="amount" placeholder="5" autocomplete="off" required>
    </div>

    <div class="control">
      <label>discount</label>
      <input type="text" name="discount" placeholder="25%" autocomplete="off" required>
    </div>
  </form>
</body>
</html>
